libostree: Add _finish() API to async progress
authorColin Walters <walters@verbum.org>
Tue, 29 Apr 2014 12:54:39 +0000 (08:54 -0400)
committerColin Walters <walters@verbum.org>
Tue, 29 Apr 2014 14:59:57 +0000 (10:59 -0400)
commitf040c02048978945ab82d31ced7c7db565647413
tree276cb6b32263b238b7f6ad5fc06499d7ff13788f
parent349083194d2064abf657494a15fc4bf456d80efd
libostree: Add _finish() API to async progress

Since OstreeAsyncProgress queues to the mainloop, we might "lose" the
last message.  Give callers a way to force a flush.
src/libostree/ostree-async-progress.c
src/libostree/ostree-async-progress.h
src/libostree/ostree-sysroot-upgrader.c
src/ostree/ot-builtin-pull.c